arm/rpi: Enable dcache
authorAlexander Stein <[email protected]>
Fri, 24 Jul 2015 07:22:15 +0000 (09:22 +0200)
committerTom Rini <[email protected]>
Thu, 13 Aug 2015 00:47:43 +0000 (20:47 -0400)
Now that mailbox driver supports cache flush and invalidation, we can
enable dcache.

Signed-off-by: Alexander Stein <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Tested-by: Stephen Warren <[email protected]>
include/configs/rpi-common.h
include/configs/rpi_2.h

index 1012cdd292a66857c42033b7ce6713329c1e6f3e..dd638c485cf494075783d2fcac62fada70715436 100644 (file)
@@ -14,7 +14,6 @@
 #define CONFIG_SYS_GENERIC_BOARD
 #define CONFIG_BCM2835
 #define CONFIG_ARCH_CPU_INIT
-#define CONFIG_SYS_DCACHE_OFF
 
 #define CONFIG_SYS_TIMER_RATE          1000000
 #define CONFIG_SYS_TIMER_COUNTER       \
index 13dc8de14315147d798f8074a9e021cf40938125..bea4ebda7facf13a625104946f5ad99482a06b41 100644 (file)
@@ -10,6 +10,7 @@
 #define CONFIG_SKIP_LOWLEVEL_INIT
 #define CONFIG_BCM2836
 #define CONFIG_SYS_CACHELINE_SIZE              64
+#define CONFIG_SYS_DCACHE_OFF
 
 #include "rpi-common.h"